package com.echo.fm.log.system;

import java.util.List;

import org.hibernate.criterion.Criterion;

import com.echo.fm.log.system.model.SystemLog;
import com.echo.util.ErrorException;

public interface ISystemLogPersistence {

	public void createSystemLog(SystemLog systemLog) throws ErrorException;

	public void updateSystemLog(SystemLog systemLog) throws ErrorException;

	public void deleteSystemLog(SystemLog systemLog) throws ErrorException;

	public SystemLog searchSystemLogById(String id) throws ErrorException;

	public List<SystemLog> searchSystemLogList(List<Criterion> criterions) throws ErrorException;

	public List<SystemLog> pagesSystemLogList(List<Criterion> criterions, int firstResult) throws ErrorException;

	public int pagesSystemLogCountList(List<Criterion> criterions) throws ErrorException;

}
